package com.fenghongzhang.a1810.mvp.presenter;

import android.telecom.Call;

import com.fenghongzhang.a1810.mvp.contract.FoodContract;

import java.io.IOException;

import javax.inject.Inject;

//在M和V中交互
public class FoodPresenter extends BasePresenter<FoodContract.IFoodModel,FoodContract.IFoodView> {

    @Inject
    public FoodPresenter(FoodContract.IFoodModel mModel, FoodContract.IFoodView mView) {
        super(mModel, mView);
    }

    //拿到数据
    public String getData(){
        return mModel.getFoodData("ok啊");
    }

}
